<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@include file="/WEB-INF/jsp/common/taglibs.jspf"%>
<table id="table"
	class="sort-table move-table table table-bordered table-hover"
	data-move-url-prefix="${ctx}/vip/card/category"
	data-async="true">
	<thead>
		<tr>
			<th style="width: 80px"><a class="check-all" href="javascript:;">全选</a>
				| <a class="reverse-all" href="javascript:;">反选</a></th>
			<th sort="id">编号</th>
			<th sort="name">名称</th>
			<th>typeCode</th>
			<th sort="weight">权重</th>
			<th>是否显示</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${page.content}" var="m" varStatus="status">
			<tr id="${m.id}">
				<td class="check"><input type="checkbox" name="ids"
					value="${m.id}"></td>
				<td><a href="${ctx}/vip/card/category/${m.id}">
						${m.id} </a></td>
				<td>${m.typeName}</td>
				<td>${m.typeCode}</td>
				<td>${m.weight} <es:movable page="${page}"
						first="${status.first}" last="${status.last}" />
				</td>
				<td>${m.show?'是':'否'}</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<es:page page="${page}" />
